/*
 * User.cpp
 *
 *  Created on: 2013. 8. 5.
 *      Author: jjaehuny
 */

#include "User.h"

namespace CacheServer {

User::User() : _pChannelServer(NULL), _seq(0), _pMainCharacterInfo(NULL)
{
	_pMainCharacterInfo = new MainCharacterInfo;
}

User::~User()
{
	delete _pMainCharacterInfo;
}

void
User::SetChannelServer(ChannelServer * pChannelServer) { _pChannelServer = pChannelServer; }

ChannelServer *
User::GetChannelServer() { return _pChannelServer; }

User::MainCharacterInfo *
User::GetMainCharacterInfo() { return _pMainCharacterInfo; }

void
User::SetSeq(int seq) { _seq = seq; }

int
User::GetSeq() { return _seq; }

} /* namespace cacheserver */



